package com.example.xuanke.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("teacher")
public class TeacherEntity {

        @TableId(type = IdType.AUTO)
        private Long id;

        @TableField("teacher_no")
        private String teacherNo;

        @TableField("username")
        private String username;

        @TableField("password")
        private String password;

        @TableField("email")
        private String email;

        @TableField("phone")
        private String phone;

    }
